<%@ page contentType="text/html;charset=UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<c:set var="jpath" value="${pageContext.request.contextPath }"/>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="${jpath}/static/qd/js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="${jpath}/static/qd/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="${jpath}/static/qd/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="${jpath}/static/qd/css/nav.css"/>
<link rel="stylesheet" type="text/css" href="${jpath}/static/qd/css/zhucezhuangtai.css"/>

<title>suqiujianyisuoyou</title>
</head>
<body>
	<div id="nav" class="backcolor">
		<div class="container">
			<div class="row">
				<div class="col-xs-2"><a href="javascript:void(0);" onclick="history.go(-1)"><img src="${jpath}/static/qd/img/back_white.png" height="20px" width="20px"/></a></div>
				<div class="col-xs-8 white-text">注册状态</div>
				<div class="col-xs-2"></div>
			</div>
		</div>
	</div>
		
	<div class="container set_padding">
		<div class="row">
			<div class="col-xs-3 nav_s_size align_center clear_padding hui-text"></div>
			<div ttname="wode" class="tt col-xs-3 nav_s_size align_center clear_padding hui-text">我的</div>
			<div ttname="suoyou" class="tt col-xs-3 nav_s_size align_center clear_padding hui-text active_title">所有</div>
			<div class="col-xs-3 nav_s_size align_center clear_padding hui-text"></div>
		</div>
	</div>
	
	<div class="container">
		<div class="row">
			<div class="col-xs-12 clear_padding">
				<div id="myCarousel" class="carousel slide">
					<!-- 轮播（Carousel）指标 -->
					<ol class="carousel-indicators">
						<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
						<li data-target="#myCarousel" data-slide-to="1"></li>
						<li data-target="#myCarousel" data-slide-to="2"></li>
						<li data-target="#myCarousel" data-slide-to="3"></li>
					</ol>   
						<!-- 轮播（Carousel）项目 -->
					<div class="carousel-inner">
						<div class="item active">
							<img src="${jpath}/static/qd/img/f_img1.png" alt="First slide">
            <div class="carousel-caption content_m_text">标题 1标题 1标题 1标题 1标题 1标题 1</div>
						</div>
						<div class="item">
							<img src="${jpath}/static/qd/img/f_img2.png" alt="Second slide">
            <div class="carousel-caption content_m_text">标题 2</div>
						</div>
						<div class="item">
							<img src="${jpath}/static/qd/img/f_img3.png" alt="Third slide">
            <div class="carousel-caption content_m_text">标题 3</div>
						</div>
						<div class="item">
							<img src="${jpath}/static/qd/img/f_img4.png" alt="Third slide">
            <div class="carousel-caption content_m_text">标题 4</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<c:forEach var="u" items="${userUis}" varStatus="status">
		<div class="container name_mar bgc_white set_margin">
			<div class="row">
				<div class="col-xs-4 clear_padding"><img src="${jpath}/static/qd/img/hongqi.jpg" height="100px" width="100px"/></div>
				<div class="col-xs-8">
					<input class="userCLassNo" type="hidden" value="${u.userCLassNo}"/>
					<div id="u_name" class="black-text">${u.enterprise}</div>
					<div id="u_content" class="hui-text s_size">${u.enterpriseContent}</div>
					<div class="date black-text s_size align_right">2017-12-21 12:20:59</div>
				</div>
			</div>
		</div>
	</c:forEach> 
<script type="text/javascript">
 $(function(){
        $(".tt").click(function(){
            var _this=$(this);
            $(".tt").each(function(index,e){
                $(e).removeClass("active_title");
            });
            var userCLassNo = $(".userCLassNo").eq(0).val();
            if(_this.attr("ttname")=="wode"){
            	location.href="${jpath}/qd/zhucezhuangtaiwode?userCLassNo="+userCLassNo;
            }
            if(_this.attr("ttname")=="suoyou"){
            	location.href="${jpath}/qd/zhucezhuangtai";
            }
            _this.addClass("active_title");
        });  
});
</script>
</body>
</html>
